package com.doform.android.xianggucheng.bean.request_bean;

import com.doform.android.xianggucheng.help.AppHelp;
import com.google.gson.Gson;

/**
 * 作者 Y_MS
 * Created by ${APEN} on 2017-08-11.
 * GitHub：https://github.com/cxydxpx
 */

public class ReqSale {
    /**
     * _listtype 	是 	string 	销售报表：goods；经营报表：management
     clsid 	否 	string 	商品分类ID
     sdate 	否 	string 	开始时间2017-07-30
     edate 	否 	string 	结束时间2017-08-30
     debug 	是 	string 	开启：true
     */

    private String _listtype = "goods";
    private boolean debug = AppHelp.getInstance().Debug;
    private String sdate;
    private String edate;

    public ReqSale(String sdate, String edate) {
        this.sdate = sdate;
        this.edate = edate;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }
}
